package com.woniu.order.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-09
 */
@TableName("t_cost")
@ApiModel(value = "TCost对象", description = "")
public class TCost implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "cost_id", type = IdType.AUTO)
    private Integer costId;

    @ApiModelProperty("order表的id")
    private Integer orderId;

    @ApiModelProperty("运费价格/cm")
    private Integer pricecm;

    @ApiModelProperty("运费价格/kg")
    private Integer pricekg;

    @ApiModelProperty("提货费")
    private Integer pickCost;

    @ApiModelProperty("装卸费")
    private Integer loadCost;

    @ApiModelProperty("包装费")
    private Integer boxCost;

    @ApiModelProperty("保险费")
    private Integer safeCost;

    @ApiModelProperty("运费总计")
    private Integer tranCost;

    @ApiModelProperty("费用总价")
    private Integer totalCost;

    @ApiModelProperty("支付方式：0-寄付，1-到付")
    private Integer payWay;

    @ApiModelProperty("银行账户信息")
    private String accoutInfo;

    @ApiModelProperty("预付款")
    private Integer earlyPay;

    @ApiModelProperty("代收金额")
    private Integer replacePay;

    public Integer getCostId() {
        return costId;
    }

    public void setCostId(Integer costId) {
        this.costId = costId;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getPricecm() {
        return pricecm;
    }

    public void setPricecm(Integer pricecm) {
        this.pricecm = pricecm;
    }

    public Integer getPricekg() {
        return pricekg;
    }

    public void setPricekg(Integer pricekg) {
        this.pricekg = pricekg;
    }

    public Integer getPickCost() {
        return pickCost;
    }

    public void setPickCost(Integer pickCost) {
        this.pickCost = pickCost;
    }
    public Integer getLoadCost() {
        return loadCost;
    }

    public void setLoadCost(Integer loadCost) {
        this.loadCost = loadCost;
    }
    public Integer getBoxCost() {
        return boxCost;
    }

    public void setBoxCost(Integer boxCost) {
        this.boxCost = boxCost;
    }
    public Integer getSafeCost() {
        return safeCost;
    }

    public void setSafeCost(Integer safeCost) {
        this.safeCost = safeCost;
    }
    public Integer getTranCost() {
        return tranCost;
    }

    public void setTranCost(Integer tranCost) {
        this.tranCost = tranCost;
    }
    public Integer getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(Integer totalCost) {
        this.totalCost = totalCost;
    }
    public Integer getPayWay() {
        return payWay;
    }

    public void setPayWay(Integer payWay) {
        this.payWay = payWay;
    }
    public String getAccoutInfo() {
        return accoutInfo;
    }

    public void setAccoutInfo(String accoutInfo) {
        this.accoutInfo = accoutInfo;
    }
    public Integer getEarlyPay() {
        return earlyPay;
    }

    public void setEarlyPay(Integer earlyPay) {
        this.earlyPay = earlyPay;
    }
    public Integer getReplacePay() {
        return replacePay;
    }

    public void setReplacePay(Integer replacePay) {
        this.replacePay = replacePay;
    }

    @Override
    public String toString() {
        return "TCost{" +
                "costId=" + costId +
                ", orderId=" + orderId +
                ", pricecm=" + pricecm +
                ", pricekg=" + pricekg +
                ", pickCost=" + pickCost +
                ", loadCost=" + loadCost +
                ", boxCost=" + boxCost +
                ", safeCost=" + safeCost +
                ", tranCost=" + tranCost +
                ", totalCost=" + totalCost +
                ", payWay=" + payWay +
                ", accoutInfo='" + accoutInfo + '\'' +
                ", earlyPay=" + earlyPay +
                ", replacePay=" + replacePay +
                '}';
    }
}
